<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::visualization::PCLPlotter类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpcl_1_1visualization_1_1_p_c_l_plotter.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="classpcl_1_1visualization_1_1_p_c_l_plotter-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::visualization::PCLPlotter类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>PCL Plotter main class. Given point correspondences this class can be used to plot the data one against the other and display it on the screen. It also has methods for providing plot for important functions like histogram etc. Important functions of <a class="el" href="classpcl_1_1visualization_1_1_p_c_l_histogram_visualizer.html" title="PCL histogram visualizer main class.">PCLHistogramVisualizer</a> are redefined here so that this single class can take responsibility of all plotting related functionalities.  
 <a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="pcl__plotter_8h_source.html">pcl_plotter.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpcl_1_1visualization_1_1_p_c_l_plotter_1_1_exit_callback.html">ExitCallback</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpcl_1_1visualization_1_1_p_c_l_plotter_1_1_exit_main_loop_timer_callback.html">ExitMainLoopTimerCallback</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:ac1af509958993f12598ba7445bdf0aee"><td class="memItemLeft" align="right" valign="top"><a id="ac1af509958993f12598ba7445bdf0aee"></a>
typedef std::vector&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ac1af509958993f12598ba7445bdf0aee">PolynomialFunction</a></td></tr>
<tr class="memdesc:ac1af509958993f12598ba7445bdf0aee"><td class="mdescLeft">&#160;</td><td class="mdescRight">A representation of polynomial function. i'th element of the vector denotes the coefficient of x^i of the polynomial in variable x. <br /></td></tr>
<tr class="separator:ac1af509958993f12598ba7445bdf0aee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad305459f399edfc8eb4aa3b7eaa2c956"><td class="memItemLeft" align="right" valign="top"><a id="ad305459f399edfc8eb4aa3b7eaa2c956"></a>
typedef std::pair&lt; <a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ac1af509958993f12598ba7445bdf0aee">PolynomialFunction</a>, <a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ac1af509958993f12598ba7445bdf0aee">PolynomialFunction</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ad305459f399edfc8eb4aa3b7eaa2c956">RationalFunction</a></td></tr>
<tr class="memdesc:ad305459f399edfc8eb4aa3b7eaa2c956"><td class="mdescLeft">&#160;</td><td class="mdescRight">A representation of rational function, defined as the ratio of two polynomial functions. pair::first denotes the numerator and pair::second denotes the denominator of the Rational function. <br /></td></tr>
<tr class="separator:ad305459f399edfc8eb4aa3b7eaa2c956"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a7d148313009ab332fb8a9f9746e8a125"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a7d148313009ab332fb8a9f9746e8a125">PCLPlotter</a> (char const *name=&quot;PCL Plotter&quot;)</td></tr>
<tr class="memdesc:a7d148313009ab332fb8a9f9746e8a125"><td class="mdescLeft">&#160;</td><td class="mdescRight">PCL Plotter constructor. <br  />
  <a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a7d148313009ab332fb8a9f9746e8a125">更多...</a><br /></td></tr>
<tr class="separator:a7d148313009ab332fb8a9f9746e8a125"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c1963efafacbd1dad6459675098873c"><td class="memItemLeft" align="right" valign="top"><a id="a3c1963efafacbd1dad6459675098873c"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a3c1963efafacbd1dad6459675098873c">~PCLPlotter</a> ()</td></tr>
<tr class="memdesc:a3c1963efafacbd1dad6459675098873c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:a3c1963efafacbd1dad6459675098873c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aada575b7dd399245a33131f3240e74b2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aada575b7dd399245a33131f3240e74b2">addPlotData</a> (double const *array_X, double const *array_Y, unsigned long size, char const *name=&quot;Y <a class="el" href="structpcl_1_1_axis.html">Axis</a>&quot;, int type=vtkChart::LINE, char const *color=NULL)</td></tr>
<tr class="memdesc:aada575b7dd399245a33131f3240e74b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a plot with correspondences in the arrays arrayX and arrayY  <a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aada575b7dd399245a33131f3240e74b2">更多...</a><br /></td></tr>
<tr class="separator:aada575b7dd399245a33131f3240e74b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad38634e017541eb0df59bfc122cc9c3d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ad38634e017541eb0df59bfc122cc9c3d">addPlotData</a> (std::vector&lt; double &gt; const &amp;array_x, std::vector&lt; double &gt;const &amp;array_y, char const *name=&quot;Y <a class="el" href="structpcl_1_1_axis.html">Axis</a>&quot;, int type=vtkChart::LINE, std::vector&lt; char &gt; const &amp;color=std::vector&lt; char &gt;())</td></tr>
<tr class="memdesc:ad38634e017541eb0df59bfc122cc9c3d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a plot with correspondences in vectors arrayX and arrayY. This is the vector version of the addPlotData function.  <a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ad38634e017541eb0df59bfc122cc9c3d">更多...</a><br /></td></tr>
<tr class="separator:ad38634e017541eb0df59bfc122cc9c3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a240123f61caa5eaee376e2c1bbec2ed0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a240123f61caa5eaee376e2c1bbec2ed0">addPlotData</a> (std::vector&lt; std::pair&lt; double, double &gt; &gt; const &amp;plot_data, char const *name=&quot;Y <a class="el" href="structpcl_1_1_axis.html">Axis</a>&quot;, int type=vtkChart::LINE, std::vector&lt; char &gt; const &amp;color=std::vector&lt; char &gt;())</td></tr>
<tr class="memdesc:a240123f61caa5eaee376e2c1bbec2ed0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a plot with correspondences in vector of pairs. The the first and second field of the pairs of the vector forms the correspondence.  <a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a240123f61caa5eaee376e2c1bbec2ed0">更多...</a><br /></td></tr>
<tr class="separator:a240123f61caa5eaee376e2c1bbec2ed0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67ec9942b6c68cb9ff5285ceda1118db"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a67ec9942b6c68cb9ff5285ceda1118db">addPlotData</a> (<a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ac1af509958993f12598ba7445bdf0aee">PolynomialFunction</a> const &amp;p_function, double x_min, double x_max, char const *name=&quot;Y <a class="el" href="structpcl_1_1_axis.html">Axis</a>&quot;, int num_points=100, int type=vtkChart::LINE, std::vector&lt; char &gt; const &amp;color=std::vector&lt; char &gt;())</td></tr>
<tr class="memdesc:a67ec9942b6c68cb9ff5285ceda1118db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a plot based on the given polynomial function and the range in X axis.  <a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a67ec9942b6c68cb9ff5285ceda1118db">更多...</a><br /></td></tr>
<tr class="separator:a67ec9942b6c68cb9ff5285ceda1118db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3a3901ba938f756ea8f60b57909c683"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ab3a3901ba938f756ea8f60b57909c683">addPlotData</a> (<a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ad305459f399edfc8eb4aa3b7eaa2c956">RationalFunction</a> const &amp;r_function, double x_min, double x_max, char const *name=&quot;Y <a class="el" href="structpcl_1_1_axis.html">Axis</a>&quot;, int num_points=100, int type=vtkChart::LINE, std::vector&lt; char &gt; const &amp;color=std::vector&lt; char &gt;())</td></tr>
<tr class="memdesc:ab3a3901ba938f756ea8f60b57909c683"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a plot based on the given rational function and the range in X axis.  <a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ab3a3901ba938f756ea8f60b57909c683">更多...</a><br /></td></tr>
<tr class="separator:ab3a3901ba938f756ea8f60b57909c683"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb3eb7f64546fbe558351fcb4b4ce047"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aeb3eb7f64546fbe558351fcb4b4ce047">addPlotData</a> (double(*function)(double), double x_min, double x_max, char const *name=&quot;Y <a class="el" href="structpcl_1_1_axis.html">Axis</a>&quot;, int num_points=100, int type=vtkChart::LINE, std::vector&lt; char &gt; const &amp;color=std::vector&lt; char &gt;())</td></tr>
<tr class="memdesc:aeb3eb7f64546fbe558351fcb4b4ce047"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a plot based on a user defined callback function representing the function to plot  <a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aeb3eb7f64546fbe558351fcb4b4ce047">更多...</a><br /></td></tr>
<tr class="separator:aeb3eb7f64546fbe558351fcb4b4ce047"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa8a495a5d13765694da8b3647ea2d19"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#afa8a495a5d13765694da8b3647ea2d19">addPlotData</a> (char const *filename, int type=vtkChart::LINE)</td></tr>
<tr class="memdesc:afa8a495a5d13765694da8b3647ea2d19"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a plot based on a space/tab delimited table provided in a file  <a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#afa8a495a5d13765694da8b3647ea2d19">更多...</a><br /></td></tr>
<tr class="separator:afa8a495a5d13765694da8b3647ea2d19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf23b2b1c2f91c517cfde387ee1b654e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aaf23b2b1c2f91c517cfde387ee1b654e">addHistogramData</a> (std::vector&lt; double &gt; const &amp;data, int const nbins=10, char const *name=&quot;Histogram&quot;, std::vector&lt; char &gt; const &amp;color=std::vector&lt; char &gt;())</td></tr>
<tr class="memdesc:aaf23b2b1c2f91c517cfde387ee1b654e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bins the elements in vector data into nbins equally spaced containers and plots the resulted histogram  <a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aaf23b2b1c2f91c517cfde387ee1b654e">更多...</a><br /></td></tr>
<tr class="separator:aaf23b2b1c2f91c517cfde387ee1b654e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ef012c07133d4a9c2db250fecb5b44d"><td class="memTemplParams" colspan="2">template&lt;typename PointT &gt; </td></tr>
<tr class="memitem:a7ef012c07133d4a9c2db250fecb5b44d"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a7ef012c07133d4a9c2db250fecb5b44d">addFeatureHistogram</a> (const <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt; &amp;cloud, int hsize, const std::string &amp;id=&quot;cloud&quot;, int win_width=640, int win_height=200)</td></tr>
<tr class="memdesc:a7ef012c07133d4a9c2db250fecb5b44d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a histogram feature to screen as a separate window, from a cloud containing a single histogram.  <a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a7ef012c07133d4a9c2db250fecb5b44d">更多...</a><br /></td></tr>
<tr class="separator:a7ef012c07133d4a9c2db250fecb5b44d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01673a862b0a8ab04e3d796cbbf69986"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a01673a862b0a8ab04e3d796cbbf69986">addFeatureHistogram</a> (const <a class="el" href="structpcl_1_1_p_c_l_point_cloud2.html">pcl::PCLPointCloud2</a> &amp;cloud, const std::string &amp;field_name, const std::string &amp;id=&quot;cloud&quot;, int win_width=640, int win_height=200)</td></tr>
<tr class="memdesc:a01673a862b0a8ab04e3d796cbbf69986"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a histogram feature to screen as a separate window from a cloud containing a single histogram.  <a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a01673a862b0a8ab04e3d796cbbf69986">更多...</a><br /></td></tr>
<tr class="separator:a01673a862b0a8ab04e3d796cbbf69986"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0fa0d1b1217344fb2492bd007abe7bf"><td class="memTemplParams" colspan="2">template&lt;typename PointT &gt; </td></tr>
<tr class="memitem:ac0fa0d1b1217344fb2492bd007abe7bf"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ac0fa0d1b1217344fb2492bd007abe7bf">addFeatureHistogram</a> (const <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt; &amp;cloud, const std::string &amp;field_name, const int index, const std::string &amp;id=&quot;cloud&quot;, int win_width=640, int win_height=200)</td></tr>
<tr class="memdesc:ac0fa0d1b1217344fb2492bd007abe7bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a histogram feature to screen as a separate window.  <a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ac0fa0d1b1217344fb2492bd007abe7bf">更多...</a><br /></td></tr>
<tr class="separator:ac0fa0d1b1217344fb2492bd007abe7bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb0b5383a05f070dab01a0896b5eb34b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aeb0b5383a05f070dab01a0896b5eb34b">addFeatureHistogram</a> (const <a class="el" href="structpcl_1_1_p_c_l_point_cloud2.html">pcl::PCLPointCloud2</a> &amp;cloud, const std::string &amp;field_name, const int index, const std::string &amp;id=&quot;cloud&quot;, int win_width=640, int win_height=200)</td></tr>
<tr class="memdesc:aeb0b5383a05f070dab01a0896b5eb34b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a histogram feature to screen as a separate window.  <a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aeb0b5383a05f070dab01a0896b5eb34b">更多...</a><br /></td></tr>
<tr class="separator:aeb0b5383a05f070dab01a0896b5eb34b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41f977c1d087e240725e5b3c0f4f9912"><td class="memItemLeft" align="right" valign="top"><a id="a41f977c1d087e240725e5b3c0f4f9912"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a41f977c1d087e240725e5b3c0f4f9912">plot</a> ()</td></tr>
<tr class="memdesc:a41f977c1d087e240725e5b3c0f4f9912"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws all the plots added by <a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aada575b7dd399245a33131f3240e74b2" title="Adds a plot with correspondences in the arrays arrayX and arrayY">addPlotData()</a> or <a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aaf23b2b1c2f91c517cfde387ee1b654e" title="Bins the elements in vector data into nbins equally spaced containers and plots the resulted histogra...">addHistogramData()</a> till now <br /></td></tr>
<tr class="separator:a41f977c1d087e240725e5b3c0f4f9912"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d1f55dc284659e78b1169abdf52ef6b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a6d1f55dc284659e78b1169abdf52ef6b">spinOnce</a> (const int spin_time=1)</td></tr>
<tr class="memdesc:a6d1f55dc284659e78b1169abdf52ef6b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Spins (runs the event loop) the interactor for spin_time amount of time. The name is confusing and will be probably obsolete in the future release with a single overloaded <a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aeec0f8a413a68734bcbc7c2ce317ae95" title="Spins (runs the event loop) the interactor indefinitely. Same as plot() - added to retain the similar...">spin()</a>/display() function.  <a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a6d1f55dc284659e78b1169abdf52ef6b">更多...</a><br /></td></tr>
<tr class="separator:a6d1f55dc284659e78b1169abdf52ef6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeec0f8a413a68734bcbc7c2ce317ae95"><td class="memItemLeft" align="right" valign="top"><a id="aeec0f8a413a68734bcbc7c2ce317ae95"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aeec0f8a413a68734bcbc7c2ce317ae95">spin</a> ()</td></tr>
<tr class="memdesc:aeec0f8a413a68734bcbc7c2ce317ae95"><td class="mdescLeft">&#160;</td><td class="mdescRight">Spins (runs the event loop) the interactor indefinitely. Same as <a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a41f977c1d087e240725e5b3c0f4f9912" title="Draws all the plots added by addPlotData() or addHistogramData() till now">plot()</a> - added to retain the similarity between other existing visualization classes. <br /></td></tr>
<tr class="separator:aeec0f8a413a68734bcbc7c2ce317ae95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac50c46612f33855348adde2d21bdb826"><td class="memItemLeft" align="right" valign="top"><a id="ac50c46612f33855348adde2d21bdb826"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ac50c46612f33855348adde2d21bdb826">clearPlots</a> ()</td></tr>
<tr class="memdesc:ac50c46612f33855348adde2d21bdb826"><td class="mdescLeft">&#160;</td><td class="mdescRight">Remove all plots from the window. <br /></td></tr>
<tr class="separator:ac50c46612f33855348adde2d21bdb826"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c65a51cd8adea146e216aa27e11c2e5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a4c65a51cd8adea146e216aa27e11c2e5">setColorScheme</a> (int scheme)</td></tr>
<tr class="memdesc:a4c65a51cd8adea146e216aa27e11c2e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set method for the color scheme of the plot. The plots gets autocolored differently based on the color scheme.  <a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a4c65a51cd8adea146e216aa27e11c2e5">更多...</a><br /></td></tr>
<tr class="separator:a4c65a51cd8adea146e216aa27e11c2e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5de1bfa0eca8e08f16783b20b7b1ceb"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#af5de1bfa0eca8e08f16783b20b7b1ceb">getColorScheme</a> ()</td></tr>
<tr class="memdesc:af5de1bfa0eca8e08f16783b20b7b1ceb"><td class="mdescLeft">&#160;</td><td class="mdescRight">get the currently used color scheme  <a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#af5de1bfa0eca8e08f16783b20b7b1ceb">更多...</a><br /></td></tr>
<tr class="separator:af5de1bfa0eca8e08f16783b20b7b1ceb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65eeee918901675fe22273eac6b0f8ba"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a65eeee918901675fe22273eac6b0f8ba">setBackgroundColor</a> (const double r, const double g, const double b)</td></tr>
<tr class="memdesc:a65eeee918901675fe22273eac6b0f8ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">set/get method for the viewport's background color.  <a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a65eeee918901675fe22273eac6b0f8ba">更多...</a><br /></td></tr>
<tr class="separator:a65eeee918901675fe22273eac6b0f8ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f7d74f8e8ce9a01562a6cda8691d632"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a9f7d74f8e8ce9a01562a6cda8691d632">setBackgroundColor</a> (const double color[3])</td></tr>
<tr class="memdesc:a9f7d74f8e8ce9a01562a6cda8691d632"><td class="mdescLeft">&#160;</td><td class="mdescRight">set/get method for the viewport's background color.  <a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a9f7d74f8e8ce9a01562a6cda8691d632">更多...</a><br /></td></tr>
<tr class="separator:a9f7d74f8e8ce9a01562a6cda8691d632"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e6c7350dd91cda113af1656eff49bc0"><td class="memItemLeft" align="right" valign="top">double *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a1e6c7350dd91cda113af1656eff49bc0">getBackgroundColor</a> ()</td></tr>
<tr class="memdesc:a1e6c7350dd91cda113af1656eff49bc0"><td class="mdescLeft">&#160;</td><td class="mdescRight">set/get method for the viewport's background color.  <a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a1e6c7350dd91cda113af1656eff49bc0">更多...</a><br /></td></tr>
<tr class="separator:a1e6c7350dd91cda113af1656eff49bc0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e43c013c6aacca70e1baf701abf2e13"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a8e43c013c6aacca70e1baf701abf2e13">setXRange</a> (double min, double max)</td></tr>
<tr class="memdesc:a8e43c013c6aacca70e1baf701abf2e13"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set logical range of the X-Axis in plot coordinates  <a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a8e43c013c6aacca70e1baf701abf2e13">更多...</a><br /></td></tr>
<tr class="separator:a8e43c013c6aacca70e1baf701abf2e13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89e37e9e88ec19b420bc507d27707c86"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a89e37e9e88ec19b420bc507d27707c86">setYRange</a> (double min, double max)</td></tr>
<tr class="memdesc:a89e37e9e88ec19b420bc507d27707c86"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set logical range of the Y-Axis in plot coordinates  <a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a89e37e9e88ec19b420bc507d27707c86">更多...</a><br /></td></tr>
<tr class="separator:a89e37e9e88ec19b420bc507d27707c86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab1174aa64c82d43e43f15e1e0cdcf51"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aab1174aa64c82d43e43f15e1e0cdcf51">setTitle</a> (const char *title)</td></tr>
<tr class="memdesc:aab1174aa64c82d43e43f15e1e0cdcf51"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the main title of the plot  <a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aab1174aa64c82d43e43f15e1e0cdcf51">更多...</a><br /></td></tr>
<tr class="separator:aab1174aa64c82d43e43f15e1e0cdcf51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3fa3e8b63f7e12680272dae1e9cad78"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ad3fa3e8b63f7e12680272dae1e9cad78">setXTitle</a> (const char *title)</td></tr>
<tr class="memdesc:ad3fa3e8b63f7e12680272dae1e9cad78"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the title of the X-Axis  <a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ad3fa3e8b63f7e12680272dae1e9cad78">更多...</a><br /></td></tr>
<tr class="separator:ad3fa3e8b63f7e12680272dae1e9cad78"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6299cb37ea7c5016a598a1142cbd29b8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a6299cb37ea7c5016a598a1142cbd29b8">setYTitle</a> (const char *title)</td></tr>
<tr class="memdesc:a6299cb37ea7c5016a598a1142cbd29b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the title of the Y-Axis  <a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a6299cb37ea7c5016a598a1142cbd29b8">更多...</a><br /></td></tr>
<tr class="separator:a6299cb37ea7c5016a598a1142cbd29b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afdfad3f408e527d0a3ad819db2962a65"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#afdfad3f408e527d0a3ad819db2962a65">setShowLegend</a> (bool flag)</td></tr>
<tr class="memdesc:afdfad3f408e527d0a3ad819db2962a65"><td class="mdescLeft">&#160;</td><td class="mdescRight">Shows the legend of the graph  <a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#afdfad3f408e527d0a3ad819db2962a65">更多...</a><br /></td></tr>
<tr class="separator:afdfad3f408e527d0a3ad819db2962a65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79294fa035318fc2b9ad9e4eafc44723"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a79294fa035318fc2b9ad9e4eafc44723">setWindowSize</a> (int w, int h)</td></tr>
<tr class="memdesc:a79294fa035318fc2b9ad9e4eafc44723"><td class="mdescLeft">&#160;</td><td class="mdescRight">set/get method for the window size.  <a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a79294fa035318fc2b9ad9e4eafc44723">更多...</a><br /></td></tr>
<tr class="separator:a79294fa035318fc2b9ad9e4eafc44723"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07985337b8983de46ba5efcc07aca6a0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a07985337b8983de46ba5efcc07aca6a0">setWindowPosition</a> (int x, int y)</td></tr>
<tr class="memdesc:a07985337b8983de46ba5efcc07aca6a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the position in screen coordinates.  <a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a07985337b8983de46ba5efcc07aca6a0">更多...</a><br /></td></tr>
<tr class="separator:a07985337b8983de46ba5efcc07aca6a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54d136dbabbe288296fdd1b0df42aef6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a54d136dbabbe288296fdd1b0df42aef6">setWindowName</a> (const std::string &amp;name)</td></tr>
<tr class="memdesc:a54d136dbabbe288296fdd1b0df42aef6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the visualizer window name.  <a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a54d136dbabbe288296fdd1b0df42aef6">更多...</a><br /></td></tr>
<tr class="separator:a54d136dbabbe288296fdd1b0df42aef6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ad182071e2b128f74c5768642e0489b"><td class="memItemLeft" align="right" valign="top">int *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a8ad182071e2b128f74c5768642e0489b">getWindowSize</a> ()</td></tr>
<tr class="memdesc:a8ad182071e2b128f74c5768642e0489b"><td class="mdescLeft">&#160;</td><td class="mdescRight">set/get method for the window size.  <a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a8ad182071e2b128f74c5768642e0489b">更多...</a><br /></td></tr>
<tr class="separator:a8ad182071e2b128f74c5768642e0489b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8bc3e318652dc895677bc82078e3d56"><td class="memItemLeft" align="right" valign="top"><a id="ab8bc3e318652dc895677bc82078e3d56"></a>
<a class="el" href="classvtk_smart_pointer.html">vtkSmartPointer</a>&lt; vtkRenderWindow &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ab8bc3e318652dc895677bc82078e3d56">getRenderWindow</a> ()</td></tr>
<tr class="memdesc:ab8bc3e318652dc895677bc82078e3d56"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a pointer to the underlying VTK RenderWindow used. <br /></td></tr>
<tr class="separator:ab8bc3e318652dc895677bc82078e3d56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3e1f44cf82d7f9e48e8297eb5e03dc2"><td class="memItemLeft" align="right" valign="top"><a id="ae3e1f44cf82d7f9e48e8297eb5e03dc2"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ae3e1f44cf82d7f9e48e8297eb5e03dc2">setViewInteractor</a> (<a class="el" href="classvtk_smart_pointer.html">vtkSmartPointer</a>&lt; vtkRenderWindowInteractor &gt; interactor)</td></tr>
<tr class="memdesc:ae3e1f44cf82d7f9e48e8297eb5e03dc2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the view's interactor. <br /></td></tr>
<tr class="separator:ae3e1f44cf82d7f9e48e8297eb5e03dc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47245062197b915022c75b322bd4b10c"><td class="memItemLeft" align="right" valign="top"><a id="a47245062197b915022c75b322bd4b10c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a47245062197b915022c75b322bd4b10c">startInteractor</a> ()</td></tr>
<tr class="memdesc:a47245062197b915022c75b322bd4b10c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize and Start the view's interactor. <br /></td></tr>
<tr class="separator:a47245062197b915022c75b322bd4b10c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75c4ff06877b3348861243606d0f8c4b"><td class="memItemLeft" align="right" valign="top"><a id="a75c4ff06877b3348861243606d0f8c4b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a75c4ff06877b3348861243606d0f8c4b">renderOnce</a> ()</td></tr>
<tr class="memdesc:a75c4ff06877b3348861243606d0f8c4b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Render the vtkWindow once. <br /></td></tr>
<tr class="separator:a75c4ff06877b3348861243606d0f8c4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd1f635640c76e3b1fbfac9f9d732d03"><td class="memItemLeft" align="right" valign="top"><a id="abd1f635640c76e3b1fbfac9f9d732d03"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#abd1f635640c76e3b1fbfac9f9d732d03">wasStopped</a> () const</td></tr>
<tr class="memdesc:abd1f635640c76e3b1fbfac9f9d732d03"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true when the user tried to close the window <br /></td></tr>
<tr class="separator:abd1f635640c76e3b1fbfac9f9d732d03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a990e21642c81079b1c24feeb0ad961b0"><td class="memItemLeft" align="right" valign="top"><a id="a990e21642c81079b1c24feeb0ad961b0"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a990e21642c81079b1c24feeb0ad961b0">close</a> ()</td></tr>
<tr class="memdesc:a990e21642c81079b1c24feeb0ad961b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stop the interaction and close the visualizaton window. <br /></td></tr>
<tr class="separator:a990e21642c81079b1c24feeb0ad961b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:afaae96ca94fcff0d70ac698441a0055c"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#afaae96ca94fcff0d70ac698441a0055c">compute</a> (<a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ac1af509958993f12598ba7445bdf0aee">PolynomialFunction</a> const &amp;p_function, double val)</td></tr>
<tr class="memdesc:afaae96ca94fcff0d70ac698441a0055c"><td class="mdescLeft">&#160;</td><td class="mdescRight">computes the value of the polynomial function at val  <a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#afaae96ca94fcff0d70ac698441a0055c">更多...</a><br /></td></tr>
<tr class="separator:afaae96ca94fcff0d70ac698441a0055c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26f3b8e8b0e5b1ffc240f015be9bd397"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a26f3b8e8b0e5b1ffc240f015be9bd397">compute</a> (<a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ad305459f399edfc8eb4aa3b7eaa2c956">RationalFunction</a> const &amp;r_function, double val)</td></tr>
<tr class="memdesc:a26f3b8e8b0e5b1ffc240f015be9bd397"><td class="mdescLeft">&#160;</td><td class="mdescRight">computes the value of the rational function at val  <a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a26f3b8e8b0e5b1ffc240f015be9bd397">更多...</a><br /></td></tr>
<tr class="separator:a26f3b8e8b0e5b1ffc240f015be9bd397"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7bf33901a66b8a9dd45fb0f888d585fb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a7bf33901a66b8a9dd45fb0f888d585fb">computeHistogram</a> (std::vector&lt; double &gt; const &amp;data, int const nbins, std::vector&lt; std::pair&lt; double, double &gt; &gt; &amp;histogram)</td></tr>
<tr class="memdesc:a7bf33901a66b8a9dd45fb0f888d585fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">bins the elements in vector data into nbins equally spaced containers and returns the histogram form, ie, computes the histogram for 'data'  <a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a7bf33901a66b8a9dd45fb0f888d585fb">更多...</a><br /></td></tr>
<tr class="separator:a7bf33901a66b8a9dd45fb0f888d585fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:a8790d8de47098dea460a807a9f01a7de"><td class="memItemLeft" align="right" valign="top"><a id="a8790d8de47098dea460a807a9f01a7de"></a>
<a class="el" href="classvtk_smart_pointer.html">vtkSmartPointer</a>&lt; vtkContextView &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>view_</b></td></tr>
<tr class="separator:a8790d8de47098dea460a807a9f01a7de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abceb4d5621a5409073ad44df47709fbc"><td class="memItemLeft" align="right" valign="top"><a id="abceb4d5621a5409073ad44df47709fbc"></a>
<a class="el" href="classvtk_smart_pointer.html">vtkSmartPointer</a>&lt; vtkChartXY &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>chart_</b></td></tr>
<tr class="separator:abceb4d5621a5409073ad44df47709fbc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4049f23b1f848cc7c6d0cf000c0b551"><td class="memItemLeft" align="right" valign="top"><a id="ac4049f23b1f848cc7c6d0cf000c0b551"></a>
<a class="el" href="classvtk_smart_pointer.html">vtkSmartPointer</a>&lt; vtkColorSeries &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>color_series_</b></td></tr>
<tr class="separator:ac4049f23b1f848cc7c6d0cf000c0b551"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73599b46afd2cc32fb676e9c8e3ed472"><td class="memItemLeft" align="right" valign="top"><a id="a73599b46afd2cc32fb676e9c8e3ed472"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>current_plot_</b></td></tr>
<tr class="separator:a73599b46afd2cc32fb676e9c8e3ed472"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb39026d968581435b00faf85e63b9ad"><td class="memItemLeft" align="right" valign="top"><a id="aeb39026d968581435b00faf85e63b9ad"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>win_width_</b></td></tr>
<tr class="separator:aeb39026d968581435b00faf85e63b9ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20796e4a5a503e285fc9b7931d402d1b"><td class="memItemLeft" align="right" valign="top"><a id="a20796e4a5a503e285fc9b7931d402d1b"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>win_height_</b></td></tr>
<tr class="separator:a20796e4a5a503e285fc9b7931d402d1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd42b33e9bd63de872341a00a8d96f03"><td class="memItemLeft" align="right" valign="top"><a id="afd42b33e9bd63de872341a00a8d96f03"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>win_x_</b></td></tr>
<tr class="separator:afd42b33e9bd63de872341a00a8d96f03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac62b5c15c88667dc883a07abad3da99d"><td class="memItemLeft" align="right" valign="top"><a id="ac62b5c15c88667dc883a07abad3da99d"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>win_y_</b></td></tr>
<tr class="separator:ac62b5c15c88667dc883a07abad3da99d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe9716a8504205c2e18a3207a047da20"><td class="memItemLeft" align="right" valign="top"><a id="afe9716a8504205c2e18a3207a047da20"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>bkg_color_</b> [3]</td></tr>
<tr class="separator:afe9716a8504205c2e18a3207a047da20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86180c78cce599c1e873af5b47397d71"><td class="memItemLeft" align="right" valign="top"><a id="a86180c78cce599c1e873af5b47397d71"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>win_name_</b></td></tr>
<tr class="separator:a86180c78cce599c1e873af5b47397d71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b45466fa1cc96b01765640ce90541b4"><td class="memItemLeft" align="right" valign="top"><a id="a1b45466fa1cc96b01765640ce90541b4"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a1b45466fa1cc96b01765640ce90541b4">stopped_</a></td></tr>
<tr class="memdesc:a1b45466fa1cc96b01765640ce90541b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set to false if the interaction loop is running. <br /></td></tr>
<tr class="separator:a1b45466fa1cc96b01765640ce90541b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1da52cdce14a2a4fc27837e8e6ca169b"><td class="memItemLeft" align="right" valign="top"><a id="a1da52cdce14a2a4fc27837e8e6ca169b"></a>
<a class="el" href="classvtk_smart_pointer.html">vtkSmartPointer</a>&lt; <a class="el" href="structpcl_1_1visualization_1_1_p_c_l_plotter_1_1_exit_main_loop_timer_callback.html">ExitMainLoopTimerCallback</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a1da52cdce14a2a4fc27837e8e6ca169b">exit_loop_timer_</a></td></tr>
<tr class="memdesc:a1da52cdce14a2a4fc27837e8e6ca169b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback object enabling us to leave the main loop, when a timer fires. <br /></td></tr>
<tr class="separator:a1da52cdce14a2a4fc27837e8e6ca169b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30fc025409b0b56668c0e87e0112a0cb"><td class="memItemLeft" align="right" valign="top"><a id="a30fc025409b0b56668c0e87e0112a0cb"></a>
<a class="el" href="classvtk_smart_pointer.html">vtkSmartPointer</a>&lt; <a class="el" href="structpcl_1_1visualization_1_1_p_c_l_plotter_1_1_exit_callback.html">ExitCallback</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>exit_callback_</b></td></tr>
<tr class="separator:a30fc025409b0b56668c0e87e0112a0cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>PCL Plotter main class. Given point correspondences this class can be used to plot the data one against the other and display it on the screen. It also has methods for providing plot for important functions like histogram etc. Important functions of <a class="el" href="classpcl_1_1visualization_1_1_p_c_l_histogram_visualizer.html" title="PCL histogram visualizer main class.">PCLHistogramVisualizer</a> are redefined here so that this single class can take responsibility of all plotting related functionalities. </p>
<dl class="section author"><dt>作者</dt><dd>Kripasindhu Sarkar </dd></dl>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a7d148313009ab332fb8a9f9746e8a125"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d148313009ab332fb8a9f9746e8a125">&#9670;&nbsp;</a></span>PCLPlotter()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">pcl::visualization::PCLPlotter::PCLPlotter </td>
          <td>(</td>
          <td class="paramtype">char const *&#160;</td>
          <td class="paramname"><em>name</em> = <code>&quot;PCL&#160;Plotter&quot;</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>PCL Plotter constructor. <br  />
 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">name</td><td>Name of the window </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="aeb0b5383a05f070dab01a0896b5eb34b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb0b5383a05f070dab01a0896b5eb34b">&#9670;&nbsp;</a></span>addFeatureHistogram() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool pcl::visualization::PCLPlotter::addFeatureHistogram </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structpcl_1_1_p_c_l_point_cloud2.html">pcl::PCLPointCloud2</a> &amp;&#160;</td>
          <td class="paramname"><em>cloud</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>field_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>id</em> = <code>&quot;cloud&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>win_width</em> = <code>640</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>win_height</em> = <code>200</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Add a histogram feature to screen as a separate window. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">cloud</td><td>the <a class="el" href="classpcl_1_1_point_cloud.html" title="PointCloud represents the base class in PCL for storing collections of 3D points.">PointCloud</a> dataset containing the histogram </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">field_name</td><td>the field name containing the histogram </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">index</td><td>the point index to extract the histogram from </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">id</td><td>the point cloud object id (default: cloud) </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">win_width</td><td>the width of the window </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">win_height</td><td>the height of the window </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a01673a862b0a8ab04e3d796cbbf69986"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a01673a862b0a8ab04e3d796cbbf69986">&#9670;&nbsp;</a></span>addFeatureHistogram() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool pcl::visualization::PCLPlotter::addFeatureHistogram </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structpcl_1_1_p_c_l_point_cloud2.html">pcl::PCLPointCloud2</a> &amp;&#160;</td>
          <td class="paramname"><em>cloud</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>field_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>id</em> = <code>&quot;cloud&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>win_width</em> = <code>640</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>win_height</em> = <code>200</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Add a histogram feature to screen as a separate window from a cloud containing a single histogram. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">cloud</td><td>the <a class="el" href="classpcl_1_1_point_cloud.html" title="PointCloud represents the base class in PCL for storing collections of 3D points.">PointCloud</a> dataset containing the histogram </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">field_name</td><td>the field name containing the histogram </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">id</td><td>the point cloud object id (default: cloud) </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">win_width</td><td>the width of the window </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">win_height</td><td>the height of the window </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ac0fa0d1b1217344fb2492bd007abe7bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac0fa0d1b1217344fb2492bd007abe7bf">&#9670;&nbsp;</a></span>addFeatureHistogram() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointT &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool pcl::visualization::PCLPlotter::addFeatureHistogram </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>cloud</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>field_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>id</em> = <code>&quot;cloud&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>win_width</em> = <code>640</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>win_height</em> = <code>200</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Add a histogram feature to screen as a separate window. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">cloud</td><td>the <a class="el" href="classpcl_1_1_point_cloud.html" title="PointCloud represents the base class in PCL for storing collections of 3D points.">PointCloud</a> dataset containing the histogram </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">field_name</td><td>the field name containing the histogram </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">index</td><td>the point index to extract the histogram from </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">id</td><td>the point cloud object id (default: cloud) </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">win_width</td><td>the width of the window </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">win_height</td><td>the height of the window </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;{</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;  <span class="keywordflow">if</span> (index &lt; 0 || index &gt;= cloud.<a class="code" href="classpcl_1_1_point_cloud.html#af16a62638198313b9c093127c492c884">points</a>.size ())</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;  {</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    PCL_ERROR (<span class="stringliteral">&quot;[addFeatureHistogram] Invalid point index (%d) given!\n&quot;</span>, index);</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <span class="keywordflow">return</span> (<span class="keyword">false</span>);</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;  }</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160; </div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;  <span class="comment">// Get the fields present in this cloud</span></div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;  std::vector&lt;pcl::PCLPointField&gt; fields;</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;  <span class="comment">// Check if our field exists</span></div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;  <span class="keywordtype">int</span> field_idx = pcl::getFieldIndex&lt;PointT&gt; (cloud, field_name, fields);</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;  <span class="keywordflow">if</span> (field_idx == -1)</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;  {</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    PCL_ERROR (<span class="stringliteral">&quot;[addFeatureHistogram] The specified field &lt;%s&gt; does not exist!\n&quot;</span>, field_name.c_str ());</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    <span class="keywordflow">return</span> (<span class="keyword">false</span>);</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;  }</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160; </div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;  <span class="keywordtype">int</span> hsize = fields[field_idx].count;</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;  std::vector&lt;double&gt; array_x (hsize), array_y (hsize);</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;  </div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; hsize; ++i)</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;  {</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    array_x[i] = i;</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    <span class="keywordtype">float</span> data;</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    <span class="comment">// TODO: replace float with the real data type</span></div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    memcpy (&amp;data, <span class="keyword">reinterpret_cast&lt;</span><span class="keyword">const </span><span class="keywordtype">char</span>*<span class="keyword">&gt;</span> (&amp;cloud.<a class="code" href="classpcl_1_1_point_cloud.html#af16a62638198313b9c093127c492c884">points</a>[index]) + fields[field_idx].offset + i * sizeof (<span class="keywordtype">float</span>), <span class="keyword">sizeof</span> (<span class="keywordtype">float</span>));</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    array_y[i] = data;</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;  }</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;  </div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;  this-&gt;<a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aada575b7dd399245a33131f3240e74b2">addPlotData</a>(array_x, array_y, <span class="keywordtype">id</span>.c_str(), vtkChart::LINE);</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;  <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a79294fa035318fc2b9ad9e4eafc44723">setWindowSize</a> (win_width, win_height);</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;  <span class="keywordflow">return</span> (<span class="keyword">true</span>);</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;}</div>
<div class="ttc" id="aclasspcl_1_1_point_cloud_html_af16a62638198313b9c093127c492c884"><div class="ttname"><a href="classpcl_1_1_point_cloud.html#af16a62638198313b9c093127c492c884">pcl::PointCloud::points</a></div><div class="ttdeci">std::vector&lt; PointT, Eigen::aligned_allocator&lt; PointT &gt; &gt; points</div><div class="ttdoc">The point data.</div><div class="ttdef"><b>Definition:</b> point_cloud.h:410</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_a79294fa035318fc2b9ad9e4eafc44723"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a79294fa035318fc2b9ad9e4eafc44723">pcl::visualization::PCLPlotter::setWindowSize</a></div><div class="ttdeci">void setWindowSize(int w, int h)</div><div class="ttdoc">set/get method for the window size.</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_p_c_l_plotter_html_aada575b7dd399245a33131f3240e74b2"><div class="ttname"><a href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aada575b7dd399245a33131f3240e74b2">pcl::visualization::PCLPlotter::addPlotData</a></div><div class="ttdeci">void addPlotData(double const *array_X, double const *array_Y, unsigned long size, char const *name=&quot;Y Axis&quot;, int type=vtkChart::LINE, char const *color=NULL)</div><div class="ttdoc">Adds a plot with correspondences in the arrays arrayX and arrayY</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="a7ef012c07133d4a9c2db250fecb5b44d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7ef012c07133d4a9c2db250fecb5b44d">&#9670;&nbsp;</a></span>addFeatureHistogram() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointT &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool pcl::visualization::PCLPlotter::addFeatureHistogram </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>cloud</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>hsize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>id</em> = <code>&quot;cloud&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>win_width</em> = <code>640</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>win_height</em> = <code>200</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Add a histogram feature to screen as a separate window, from a cloud containing a single histogram. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">cloud</td><td>the <a class="el" href="classpcl_1_1_point_cloud.html" title="PointCloud represents the base class in PCL for storing collections of 3D points.">PointCloud</a> dataset containing the histogram </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">hsize</td><td>the length of the histogram </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">id</td><td>the point cloud object id (default: cloud) </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">win_width</td><td>the width of the window </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">win_height</td><td>the height of the window </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;{</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;  std::vector&lt;double&gt; array_x(hsize), array_y(hsize);</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;  </div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;  <span class="comment">// Parse the cloud data and store it in the array</span></div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; hsize; ++i)</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;  {</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    array_x[i] = i;</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    array_y[i] = cloud.<a class="code" href="classpcl_1_1_point_cloud.html#af16a62638198313b9c093127c492c884">points</a>[0].histogram[i];</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;  }</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;  </div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;  this-&gt;<a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aada575b7dd399245a33131f3240e74b2">addPlotData</a>(array_x, array_y, <span class="keywordtype">id</span>.c_str(), vtkChart::LINE);</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;  <a class="code" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#a79294fa035318fc2b9ad9e4eafc44723">setWindowSize</a> (win_width, win_height);</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;}</div>
</div><!-- fragment -->
</div>
</div>
<a id="aaf23b2b1c2f91c517cfde387ee1b654e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf23b2b1c2f91c517cfde387ee1b654e">&#9670;&nbsp;</a></span>addHistogramData()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPlotter::addHistogramData </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; double &gt; const &amp;&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int const&#160;</td>
          <td class="paramname"><em>nbins</em> = <code>10</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char const *&#160;</td>
          <td class="paramname"><em>name</em> = <code>&quot;Histogram&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; char &gt; const &amp;&#160;</td>
          <td class="paramname"><em>color</em> = <code>std::vector&lt;&#160;char&#160;&gt;()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Bins the elements in vector data into nbins equally spaced containers and plots the resulted histogram </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">data</td><td>the raw data </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">nbins</td><td>the number of bins for the histogram </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">name</td><td>name of this histogram which will appear on legends if toggled on </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">color</td><td>a character array of 4 fields denoting the R,G,B and A component of the color of the plot ranging from 0 to 255. If this argument is not passed (or an empty vector is passed) the histogram is colored based on the current color scheme </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="afa8a495a5d13765694da8b3647ea2d19"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa8a495a5d13765694da8b3647ea2d19">&#9670;&nbsp;</a></span>addPlotData() <span class="overload">[1/7]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPlotter::addPlotData </td>
          <td>(</td>
          <td class="paramtype">char const *&#160;</td>
          <td class="paramname"><em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>type</em> = <code>vtkChart::LINE</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds a plot based on a space/tab delimited table provided in a file </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">filename</td><td>name of the file containing the table. 1st column represents the values of X-Axis. Rest of the columns represent the corresponding values in Y-Axes. First row of the file is concidered for naming/labling of the plot. The plot-names should not contain any space in between. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">type</td><td>type of the graph plotted. vtkChart::LINE for line plot, vtkChart::BAR for bar plot, and vtkChart::POINTS for a scattered point plot </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aada575b7dd399245a33131f3240e74b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aada575b7dd399245a33131f3240e74b2">&#9670;&nbsp;</a></span>addPlotData() <span class="overload">[2/7]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPlotter::addPlotData </td>
          <td>(</td>
          <td class="paramtype">double const *&#160;</td>
          <td class="paramname"><em>array_X</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double const *&#160;</td>
          <td class="paramname"><em>array_Y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned long&#160;</td>
          <td class="paramname"><em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char const *&#160;</td>
          <td class="paramname"><em>name</em> = <code>&quot;Y&#160;<a class="el" href="structpcl_1_1_axis.html">Axis</a>&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>type</em> = <code>vtkChart::LINE</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char const *&#160;</td>
          <td class="paramname"><em>color</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds a plot with correspondences in the arrays arrayX and arrayY </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">array_X</td><td>X coordinates of point correspondence array </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">array_Y</td><td>Y coordinates of point correspondence array </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>length of the array arrayX and arrayY </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">name</td><td>name of the plot which appears in the legend when toggled on </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">type</td><td>type of the graph plotted. vtkChart::LINE for line plot, vtkChart::BAR for bar plot, and vtkChart::POINTS for a scattered point plot </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">color</td><td>a character array of 4 fields denoting the R,G,B and A component of the color of the plot ranging from 0 to 255. If this argument is not passed (or NULL is passed) the plot is colored based on a color scheme </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aeb3eb7f64546fbe558351fcb4b4ce047"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb3eb7f64546fbe558351fcb4b4ce047">&#9670;&nbsp;</a></span>addPlotData() <span class="overload">[3/7]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPlotter::addPlotData </td>
          <td>(</td>
          <td class="paramtype">double(*)(double)&#160;</td>
          <td class="paramname"><em>function</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x_min</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x_max</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char const *&#160;</td>
          <td class="paramname"><em>name</em> = <code>&quot;Y&#160;<a class="el" href="structpcl_1_1_axis.html">Axis</a>&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>num_points</em> = <code>100</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>type</em> = <code>vtkChart::LINE</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; char &gt; const &amp;&#160;</td>
          <td class="paramname"><em>color</em> = <code>std::vector&lt;&#160;char&#160;&gt;()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds a plot based on a user defined callback function representing the function to plot </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">function</td><td>a user defined callback function representing the relation y = function(x) </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">x_min</td><td>the left boundary of the range for displaying the plot </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">x_max</td><td>the right boundary of the range for displaying the plot </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">name</td><td>name of the plot which appears in the legend when toggled on </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">num_points</td><td>Number of points plotted to show the graph. More this number, more is the resolution. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">type</td><td>type of the graph plotted. vtkChart::LINE for line plot, vtkChart::BAR for bar plot, and vtkChart::POINTS for a scattered point plot </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">color</td><td>a character array of 4 fields denoting the R,G,B and A component of the color of the plot ranging from 0 to 255. If this argument is not passed (or NULL is passed) the plot is colored based on a color scheme </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a67ec9942b6c68cb9ff5285ceda1118db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a67ec9942b6c68cb9ff5285ceda1118db">&#9670;&nbsp;</a></span>addPlotData() <span class="overload">[4/7]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPlotter::addPlotData </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ac1af509958993f12598ba7445bdf0aee">PolynomialFunction</a> const &amp;&#160;</td>
          <td class="paramname"><em>p_function</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x_min</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x_max</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char const *&#160;</td>
          <td class="paramname"><em>name</em> = <code>&quot;Y&#160;<a class="el" href="structpcl_1_1_axis.html">Axis</a>&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>num_points</em> = <code>100</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>type</em> = <code>vtkChart::LINE</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; char &gt; const &amp;&#160;</td>
          <td class="paramname"><em>color</em> = <code>std::vector&lt;&#160;char&#160;&gt;()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds a plot based on the given polynomial function and the range in X axis. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p_function</td><td>A polynomial function which is represented by a vector which stores the coefficients. See description on the typedef. <br  />
 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">x_min</td><td>the left boundary of the range for displaying the plot </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">x_max</td><td>the right boundary of the range for displaying the plot </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">name</td><td>name of the plot which appears in the legend when toggled on </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">num_points</td><td>Number of points plotted to show the graph. More this number, more is the resolution. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">type</td><td>type of the graph plotted. vtkChart::LINE for line plot, vtkChart::BAR for bar plot, and vtkChart::POINTS for a scattered point plot </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">color</td><td>a character array of 4 fields denoting the R,G,B and A component of the color of the plot ranging from 0 to 255. If this argument is not passed (or NULL is passed) the plot is colored based on a color scheme </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ab3a3901ba938f756ea8f60b57909c683"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab3a3901ba938f756ea8f60b57909c683">&#9670;&nbsp;</a></span>addPlotData() <span class="overload">[5/7]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPlotter::addPlotData </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ad305459f399edfc8eb4aa3b7eaa2c956">RationalFunction</a> const &amp;&#160;</td>
          <td class="paramname"><em>r_function</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x_min</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x_max</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char const *&#160;</td>
          <td class="paramname"><em>name</em> = <code>&quot;Y&#160;<a class="el" href="structpcl_1_1_axis.html">Axis</a>&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>num_points</em> = <code>100</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>type</em> = <code>vtkChart::LINE</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; char &gt; const &amp;&#160;</td>
          <td class="paramname"><em>color</em> = <code>std::vector&lt;&#160;char&#160;&gt;()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds a plot based on the given rational function and the range in X axis. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">r_function</td><td>A rational function which is represented by the ratio of two polynomial functions. See description on the typedef for more details. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">x_min</td><td>the left boundary of the range for displaying the plot </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">x_max</td><td>the right boundary of the range for displaying the plot </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">name</td><td>name of the plot which appears in the legend when toggled on </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">num_points</td><td>Number of points plotted to show the graph. More this number, more is the resolution. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">type</td><td>type of the graph plotted. vtkChart::LINE for line plot, vtkChart::BAR for bar plot, and vtkChart::POINTS for a scattered point plot </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">color</td><td>a character array of 4 fields denoting the R,G,B and A component of the color of the plot ranging from 0 to 255. If this argument is not passed (or NULL is passed) the plot is colored based on a color scheme </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ad38634e017541eb0df59bfc122cc9c3d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad38634e017541eb0df59bfc122cc9c3d">&#9670;&nbsp;</a></span>addPlotData() <span class="overload">[6/7]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPlotter::addPlotData </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; double &gt; const &amp;&#160;</td>
          <td class="paramname"><em>array_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; double &gt;const &amp;&#160;</td>
          <td class="paramname"><em>array_y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char const *&#160;</td>
          <td class="paramname"><em>name</em> = <code>&quot;Y&#160;<a class="el" href="structpcl_1_1_axis.html">Axis</a>&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>type</em> = <code>vtkChart::LINE</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; char &gt; const &amp;&#160;</td>
          <td class="paramname"><em>color</em> = <code>std::vector&lt;&#160;char&#160;&gt;()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds a plot with correspondences in vectors arrayX and arrayY. This is the vector version of the addPlotData function. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">array_x</td><td>X coordinates of point correspondence array </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">array_y</td><td>Y coordinates of point correspondence array </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">name</td><td>name of the plot which appears in the legend when toggled on </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">type</td><td>type of the graph plotted. vtkChart::LINE for line plot, vtkChart::BAR for bar plot, and vtkChart::POINTS for a scattered point plot </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">color</td><td>a character array of 4 fields denoting the R,G,B and A component of the color of the plot ranging from 0 to 255. If this argument is not passed (or NULL is passed) the plot is colored based on a color scheme </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a240123f61caa5eaee376e2c1bbec2ed0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a240123f61caa5eaee376e2c1bbec2ed0">&#9670;&nbsp;</a></span>addPlotData() <span class="overload">[7/7]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPlotter::addPlotData </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; std::pair&lt; double, double &gt; &gt; const &amp;&#160;</td>
          <td class="paramname"><em>plot_data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char const *&#160;</td>
          <td class="paramname"><em>name</em> = <code>&quot;Y&#160;<a class="el" href="structpcl_1_1_axis.html">Axis</a>&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>type</em> = <code>vtkChart::LINE</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; char &gt; const &amp;&#160;</td>
          <td class="paramname"><em>color</em> = <code>std::vector&lt;&#160;char&#160;&gt;()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds a plot with correspondences in vector of pairs. The the first and second field of the pairs of the vector forms the correspondence. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir"></td><td class="paramname">plot_data</td><td></td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">name</td><td>name of the plot which appears in the legend when toggled on </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">type</td><td>type of the graph plotted. vtkChart::LINE for line plot, vtkChart::BAR for bar plot, and vtkChart::POINTS for a scattered point plot </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">color</td><td>a character array of 4 fields denoting the R,G,B and A component of the color of the plot ranging from 0 to 255. If this argument is not passed (or NULL is passed) the plot is colored based on a color scheme </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="afaae96ca94fcff0d70ac698441a0055c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afaae96ca94fcff0d70ac698441a0055c">&#9670;&nbsp;</a></span>compute() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double pcl::visualization::PCLPlotter::compute </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ac1af509958993f12598ba7445bdf0aee">PolynomialFunction</a> const &amp;&#160;</td>
          <td class="paramname"><em>p_function</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>val</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>computes the value of the polynomial function at val </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p_function</td><td>polynomial function </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">value</td><td>the value at which the function is to be computed </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a26f3b8e8b0e5b1ffc240f015be9bd397"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a26f3b8e8b0e5b1ffc240f015be9bd397">&#9670;&nbsp;</a></span>compute() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double pcl::visualization::PCLPlotter::compute </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#ad305459f399edfc8eb4aa3b7eaa2c956">RationalFunction</a> const &amp;&#160;</td>
          <td class="paramname"><em>r_function</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>val</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>computes the value of the rational function at val </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">r_function</td><td>the rational function </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">value</td><td>the value at which the function is to be computed </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a7bf33901a66b8a9dd45fb0f888d585fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7bf33901a66b8a9dd45fb0f888d585fb">&#9670;&nbsp;</a></span>computeHistogram()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPlotter::computeHistogram </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; double &gt; const &amp;&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int const&#160;</td>
          <td class="paramname"><em>nbins</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; std::pair&lt; double, double &gt; &gt; &amp;&#160;</td>
          <td class="paramname"><em>histogram</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>bins the elements in vector data into nbins equally spaced containers and returns the histogram form, ie, computes the histogram for 'data' </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">data</td><td>data who's frequency distribution is to be found </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">nbins</td><td>number of bins for the histogram </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">histogram</td><td>vector of pairs containing the histogram. The first field of the pair represent the middle value of the corresponding bin. The second field denotes the frequency of data in that bin. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>注解</dt><dd>NaN values will be ignored! </dd></dl>

</div>
</div>
<a id="a1e6c7350dd91cda113af1656eff49bc0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e6c7350dd91cda113af1656eff49bc0">&#9670;&nbsp;</a></span>getBackgroundColor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double* pcl::visualization::PCLPlotter::getBackgroundColor </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>set/get method for the viewport's background color. </p>
<dl class="section return"><dt>返回</dt><dd>[out] color the array containing the 3 component of the <a class="el" href="structpcl_1_1_r_g_b.html" title="A structure representing RGB color information.">RGB</a> color </dd></dl>

</div>
</div>
<a id="af5de1bfa0eca8e08f16783b20b7b1ceb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af5de1bfa0eca8e08f16783b20b7b1ceb">&#9670;&nbsp;</a></span>getColorScheme()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int pcl::visualization::PCLPlotter::getColorScheme </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>get the currently used color scheme </p>
<dl class="section return"><dt>返回</dt><dd>[out] the currently used color scheme. Values include WARM, COOL, BLUES, WILD_FLOWER, CITRUS, CUSTOM </dd></dl>

</div>
</div>
<a id="a8ad182071e2b128f74c5768642e0489b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ad182071e2b128f74c5768642e0489b">&#9670;&nbsp;</a></span>getWindowSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int* pcl::visualization::PCLPlotter::getWindowSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>set/get method for the window size. </p>
<dl class="section return"><dt>返回</dt><dd>[in] array containing the width and height of the window </dd></dl>

</div>
</div>
<a id="a9f7d74f8e8ce9a01562a6cda8691d632"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f7d74f8e8ce9a01562a6cda8691d632">&#9670;&nbsp;</a></span>setBackgroundColor() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPlotter::setBackgroundColor </td>
          <td>(</td>
          <td class="paramtype">const double&#160;</td>
          <td class="paramname"><em>color</em>[3]</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>set/get method for the viewport's background color. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">color</td><td>the array containing the 3 component of the <a class="el" href="structpcl_1_1_r_g_b.html" title="A structure representing RGB color information.">RGB</a> color </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a65eeee918901675fe22273eac6b0f8ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a65eeee918901675fe22273eac6b0f8ba">&#9670;&nbsp;</a></span>setBackgroundColor() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPlotter::setBackgroundColor </td>
          <td>(</td>
          <td class="paramtype">const double&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>set/get method for the viewport's background color. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">r</td><td>the red component of the <a class="el" href="structpcl_1_1_r_g_b.html" title="A structure representing RGB color information.">RGB</a> color </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">g</td><td>the green component of the <a class="el" href="structpcl_1_1_r_g_b.html" title="A structure representing RGB color information.">RGB</a> color </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>the blue component of the <a class="el" href="structpcl_1_1_r_g_b.html" title="A structure representing RGB color information.">RGB</a> color </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a4c65a51cd8adea146e216aa27e11c2e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4c65a51cd8adea146e216aa27e11c2e5">&#9670;&nbsp;</a></span>setColorScheme()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPlotter::setColorScheme </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>scheme</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set method for the color scheme of the plot. The plots gets autocolored differently based on the color scheme. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">scheme</td><td>the color scheme. Possible values are vtkColorSeries::SPECTRUM, vtkColorSeries::WARM, vtkColorSeries::COOL, vtkColorSeries::BLUES, vtkColorSeries::WILD_FLOWER, vtkColorSeries::CITRUS </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="afdfad3f408e527d0a3ad819db2962a65"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afdfad3f408e527d0a3ad819db2962a65">&#9670;&nbsp;</a></span>setShowLegend()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPlotter::setShowLegend </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>flag</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Shows the legend of the graph </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">flag</td><td>pass flag = true for the display of the legend of the graph </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aab1174aa64c82d43e43f15e1e0cdcf51"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab1174aa64c82d43e43f15e1e0cdcf51">&#9670;&nbsp;</a></span>setTitle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPlotter::setTitle </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>title</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the main title of the plot </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">title</td><td>the title to set </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a54d136dbabbe288296fdd1b0df42aef6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54d136dbabbe288296fdd1b0df42aef6">&#9670;&nbsp;</a></span>setWindowName()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPlotter::setWindowName </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the visualizer window name. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">name</td><td>the name of the window </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a07985337b8983de46ba5efcc07aca6a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a07985337b8983de46ba5efcc07aca6a0">&#9670;&nbsp;</a></span>setWindowPosition()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPlotter::setWindowPosition </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the position in screen coordinates. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>where to move the window to (X) </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>where to move the window to (Y) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a79294fa035318fc2b9ad9e4eafc44723"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a79294fa035318fc2b9ad9e4eafc44723">&#9670;&nbsp;</a></span>setWindowSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPlotter::setWindowSize </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>h</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>set/get method for the window size. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">w</td><td>the width of the window </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">h</td><td>the height of the window </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a8e43c013c6aacca70e1baf701abf2e13"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e43c013c6aacca70e1baf701abf2e13">&#9670;&nbsp;</a></span>setXRange()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPlotter::setXRange </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>min</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>max</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set logical range of the X-Axis in plot coordinates </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">min</td><td>the left boundary of the range </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">max</td><td>the right boundary of the range </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ad3fa3e8b63f7e12680272dae1e9cad78"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad3fa3e8b63f7e12680272dae1e9cad78">&#9670;&nbsp;</a></span>setXTitle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPlotter::setXTitle </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>title</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the title of the X-Axis </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">title</td><td>the title to set </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a89e37e9e88ec19b420bc507d27707c86"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a89e37e9e88ec19b420bc507d27707c86">&#9670;&nbsp;</a></span>setYRange()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPlotter::setYRange </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>min</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>max</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set logical range of the Y-Axis in plot coordinates </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">min</td><td>the left boundary of the range </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">max</td><td>the right boundary of the range </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a6299cb37ea7c5016a598a1142cbd29b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6299cb37ea7c5016a598a1142cbd29b8">&#9670;&nbsp;</a></span>setYTitle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPlotter::setYTitle </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>title</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the title of the Y-Axis </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">title</td><td>the title to set </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a6d1f55dc284659e78b1169abdf52ef6b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6d1f55dc284659e78b1169abdf52ef6b">&#9670;&nbsp;</a></span>spinOnce()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::PCLPlotter::spinOnce </td>
          <td>(</td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>spin_time</em> = <code>1</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Spins (runs the event loop) the interactor for spin_time amount of time. The name is confusing and will be probably obsolete in the future release with a single overloaded <a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html#aeec0f8a413a68734bcbc7c2ce317ae95" title="Spins (runs the event loop) the interactor indefinitely. Same as plot() - added to retain the similar...">spin()</a>/display() function. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">spin_time</td><td>- How long (in ms) should the visualization loop be allowed to run. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>visualization/include/pcl/visualization/<a class="el" href="pcl__plotter_8h_source.html">pcl_plotter.h</a></li>
<li>visualization/include/pcl/visualization/impl/<a class="el" href="pcl__plotter_8hpp_source.html">pcl_plotter.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><b>visualization</b></li><li class="navelem"><a class="el" href="classpcl_1_1visualization_1_1_p_c_l_plotter.html">PCLPlotter</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
